<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>{if isset($SEO['title']) && !empty($SEO['title'])}{$SEO['title']}{/if}{$SEO['site_title']}</title>
<meta name="keywords" content="{$SEO['keyword']}">
<meta name="description" content="{$SEO['description']}">
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7">
<link href="{CSS_PATH}article.css" rel="stylesheet" type="text/css">
<link rel="stylesheet" type="text/css" href="{CSS_PATH}cmstop-comment-mode.css" />
<script type="text/javascript" src="{JS_PATH}jquery.js"></script>
<script type="text/javascript" src="{JS_PATH}jquery.cookie.js"></script>
<script type="text/javascript" src="{JS_PATH}cmstop-common.js"></script>
<script type="text/javascript" src="{JS_PATH}cmstop-imagezoom.js"></script>
<script type="text/javascript" src="{JS_PATH}fet.js"></script>
<script type="text/javascript" src="{JS_PATH}repos.js"></script>
<script type="text/javascript">fet.setAlias({IMG_URL: "{siteurl($siteid)}/"})</script>
<!--[if IE]><script src="{JS_PATH}html5.js"></script><![endif]-->
<script src="http://tjs.sjs.sinajs.cn/open/api/js/wb.js" type="text/javascript" charset="utf-8"></script>
<script type="text/javascript" src="http://cbjs.baidu.com/js/m.js"></script>
</head>
<body>
<script type="text/javascript" src="{JS_PATH}nav/navlist.js"></script>

{template "content","head"}
    <!--@end导航栏-->  
</div>
<!--网站导航-->

<!--广告-->


<div id="main">
	<span class="navlist"><a href="{siteurl($siteid)}">{$SEO['site_title']}</a> »  {catpos($catid)} 正文</span>
    <!-- <span class="mg-group">
	   <em class="ico-qq-weibo"></em><a href="http://e.t.qq.com/xinanwanba9272" target="_blank">腾讯微博</a> 
	   <em class="ico-sina-weibo"></em><a href="http://weibo.com/xinanwanbao" target="_blank">新浪微博</a>  
	   <em class="ico-99du"></em><a href="http://www.hijia.cn" target="_blank">宿迁论坛</a> 
	   <em class="ico_tel"></em>24小时新闻热线：962000
    </span>  -->
	 <!--<span class="tel-group"></span>-->
    
</div>

<div id="main">
   <div id="leftbox">
    	<div class="article-main clearfix">
        	<h1>{$title}</h1>
			<div class="article-info clearfix">
				<span class="date"><a href="{siteurl($siteid)}">{$SEO['site_title']} : www.toptour.cn</a></span>
				<span class="date">发布时间：{$inputtime}</span>
				<!-- <span class="pl"><a href="#box" class="blue">我来说两句</a></span> -->
				<!-- <span class="mobile blue"><a href="/" class="blue" target="_blank">手机看报</a></span> -->
			</div>
			{if $description} <p style="text-align: center;font-size: 14px;padding: 10px 0;">{$description}</p>{/if}
			<div class="cont-detail" id="ctrlfscont">
				<div class="article-content">
					<p style="text-align:center"></p>
					{if $allow_visitor==1}
						{$content}
						<!--内容关联投票-->
						{if $voteid}<script language="javascript" src="{APP_PATH}index.php?m=vote&c=index&a=show&action=js&subjectid={$voteid}&type=2"></script>{/if}
					{else}
						<CENTER><a href="{APP_PATH}index.php?m=content&c=readpoint&allow_visitor={$allow_visitor}"><font color="red">阅读此信息需要您支付 <B><I>{$readpoint} {if $paytype}元{else}点{/if}</I></B>，点击这里支付</font></a></CENTER>
					{/if}
					{if $titles}
						<fieldset>
							<legend class="f14">本文导航</legend>
							<ul class="list blue row-2">
							{loop $titles $r}
								<li>{$n}、<a href="{$r[url]}">{$r[title]}</a></li>
							{/loop}
							</ul>
						</fieldset>
					{/if}
				</div>
			</div>
			<!-- @end 文章内容 -->                                                                               			
			<div class="article-page">
				<table id="pagination" cellspacing="0" cellpadding="0" class="pagination mar-tb-10">
					<tr>{$pages}</tr>
				</table>
			</div>
	
			<!--  -->
			{php $admin_db = pc_base::load_model('admin_model'); $_realname = $admin_db->get_one(array('username'=>$username),'realname'); $realname = $_realname[realname]}
			<div class="keyWordBox">
				<div>
					{if $keywords}
					{loop $keywords $r}
					<p class="keyWordText f-l">{$r}</p>
					{/loop}
					{/if}
				</div>
				<p>
					<span class="where">来源：{$copyfrom}</span>
					<span class="where">责任编辑：{$realname}</span>
				</p>
			</div>
			
			<div class="clear"></div>            



<!-- <div id="mood" class="cont-mood">
<p class="mood-head">你看到此篇文章的感受是：</p>
 {if module_exists('mood')}<script type="text/javascript" src="{APP_PATH}index.php?m=mood&c=index&a=init&id={id_encode($catid,$id,$siteid)}"></script>{/if}
</div> -->
			<!--相关报道-->
			<div class="copyright clearfix">
				<div class="relevantTitle">
					<div class="sign_tit"></div>
					<p class="title_l">相关阅读</p>
					<div class="f-r">
						<!-- 分享代码 -->
						<div class="bshare-custom" style="margin: 10px;">
							<div class="bsPromo bsPromo2"></div>
							<a title="分享到QQ空间" class="bshare-qzone"></a>
							<a title="分享到新浪微博" class="bshare-sinaminiblog"></a>
							<a title="分享到人人网" class="bshare-renren"></a>
							<a title="分享到腾讯微博" class="bshare-qqmb"></a>
							<a title="分享到网易微博" class="bshare-neteasemb"></a>
							<a title="更多平台" class="bshare-more bshare-more-icon more-style-addthis"></a>
						</div>
						<script type="text/javascript" charset="utf-8" src="http://static.bshare.cn/b/buttonLite.js#style=-1&amp;uuid=&amp;pophcol=2&amp;lang=zh"></script>
						<script type="text/javascript" charset="utf-8" src="http://static.bshare.cn/b/bshareC0.js"></script>
						<!-- 分享代码END -->
					</div>
					
				</div>
				{pc:content action="relation" relation="$relation" id="$id" catid="$catid" num="5" keywords="$rs[keywords]"}
				{if $data}
				<div class="xgwzcontent">
					<ul>
					{loop $data $r} <li><a href="{$r[url]}">{$r[title]}</a></li>
					{/loop}
					</ul>
				</div>
				{/if}
				{/pc}
			</div>

			
   
		
<!--推荐开始框架-->
<!-- <div class="pdtj clearfix">
	<iframe src="http://www.ahwang.cn/section/611.html" width="605" height="420" scrolling="no" frameborder="0"></iframe>
</div> -->
<!--推荐结束-->
            
{if $allow_comment && module_exists('comment')}
 <!-- <iframe class="m10" src="{APP_PATH}index.php?m=comment&c=index&a=init&commentid={id_encode("content_$catid",$id,$siteid)}&iframe=1" width="100%" height="100%" id="comment_iframe" frameborder="0" scrolling="no"></iframe>
  <div class="box" id="box">
			<h5>评论排行</h5>
			 {pc:comment action="bang" siteid="$siteid" cache="3600"}
			<ul class="content list blue f14 row-2">
			{loop $data $r}
				<li>·<a href="{$r[url]}" target="_blank">{str_cut($r[title], 40)}</a><span>({$r[total]})</span></li>
				{/loop}
			</ul>
			{/pc}
	</div> -->
{/if}
        
<!-- <div class="copyright clearfix">
	<p><b>版权声明：</b></p>
	<p>凡注明来源为“宿迁新闻网”、“大宿网”的所有文字、图片、音视频、美术设计和程序等作品，版权均属宿迁传媒有限公司或相关权利人专属所有或持有所有。未经本网书面授权，不得进行一切形式的下载、转载或建立镜像。否则以侵权论，依法追究相关法律责任。</p>
</div> -->

                        
          
        </div>
    
    </div><!--leftbox-->
    
    <!-- rightBox公用右侧 -->
    <div>
    	{template "content","list_rightbox"}
    </div>
    
</div>
	<script type="text/javascript" src="http://img.ahwang.cn/templates/default/js/apps/digg.js"></script>
	<!--<script type="text/javascript" src="http://img.ahwang.cn/templates/default/js/article-show.js"></script>	-->
	<script type="text/javascript" src="http://img.ahwang.cn/templates/default/js/mood-show.js"></script>

	<script>
	$(function() {
		$('.article-content a').each(function(i,a){
			var $a = $(a);
			if(!$a.attr('target')) 
			{
				$a.attr('target','_blank');
			}
		});
	});
	</script>

<script type="text/javascript" src="http://img.ahwang.cn/templates/default/js/tabs.js"></script>
<script type="text/javascript" src="http://img.ahwang.cn/apps/digg/js/digg.js"></script>
<script type="text/javascript" src="http://img.ahwang.cn/js/lib/jquery.lightbox.js"></script>
<link rel="stylesheet" type="text/css" href="http://img.ahwang.cn/templates/default/css/imagesbox.css" media="screen" />

<script type="text/javascript">
var content = '';//第一页内容缓存
var context = '';//全文内容缓存
var isfulltext = false;
$(function(){
	digg.get(contentid);
	content = $('#ctrlfscont').html();
	var font = $.cookie(COOKIE_PRE+'font');//根据cookie设置字体大小并初始化按钮
	if(font){
		$('#ctrlfssummary,#ctrlfscont').addClass(font);
		if(font == 'fs-big'){
		 	$('#bfont').addClass('cor-current');
			$('#sfont').removeClass('cor-current');
		}
	}

	time();

	$.getJSON(APP_URL+'?app=system&controller=content&action=stat&jsoncallback=?&contentid='+contentid);
	
	$('form[id^="vote"]').each(function(){
		var contentid = $(this).find('>input[name="contentid"]:hidden').val();
		var maxoptions = $(this).find('>input[name="maxoptions"]:hidden').val();
		$(this).submit(function(){
			var checkeds = $(this).find('input:checked').length;
			if(checkeds == 0){
				alert('请选择投票选项');
				return false;
			}
			if(maxoptions){
				if(checkeds > parseInt(maxoptions)){
					alert('最多允许选'+maxoptions+'项');
					return false;
				}
			}
		})
	})
})
function fulltext(){  //单页阅读
		if(context =='')
		$.getJSON(APP_URL+'?app=article&controller=article&action=fulltext&jsoncallback=?&contentid='+contentid,function(data){
			context = data.content;
			$('#ctrlfscont').html(data.content);
			$('#show-all-cont').html('分页阅读').parent().siblings().hide();
			$('.bor-ccc').hide();
			isfulltext = true;
			holdpic();
		});
		else{
			$('#ctrlfscont').html(isfulltext?content:context);
			$('#show-all-cont').html(isfulltext?'单页阅读':'分页阅读').parent().siblings().toggle(isfulltext === true);
			isfulltext = (isfulltext === false);
			$('.bor-ccc').show();
			holdpic();
		}
}
function holdpic(){//控制内容区域的的图片大小并为过大的图片添加查看原图
	var options = {
		imageLoading:IMG_URL+'js/lib/lightBox/lightbox-ico-loading.gif',
		imageBtnPrev:IMG_URL+'js/lib/lightBox/lightbox-btn-prev.gif',
		imageBtnNext:IMG_URL+'js/lib/lightBox/lightbox-btn-next.gif',
		imageBtnClose:IMG_URL+'js/lib/lightBox/lightbox-btn-close.gif',
		imageBlank:IMG_URL+'js/lib/lightBox/lightbox-blank.gif'
	};
	$('#ctrlfscont').find('img').each(function(){
		var img = this;
		if (img.width>608) {
			img.style.width = '600px';
			$(img).removeAttr('height');
			var aTag = document.createElement('a');
			aTag.href = img.src;
			$(aTag).addClass('bPic')
			.insertAfter(img).append(img)
			.lightBox(options);
		}
	});
}
$(window).load(function(){
	holdpic();
});
</script>

<!--公用脚部-->
<footer>
  {template "content","footer"}
</footer>
<!--公用脚部END-->
   

<script type="text/javascript" src="http://img.ahwang.cn/templates/default/xinan/2012/js/index.js"></script> 
<script type="text/javascript"> 
jQuery.tab2("video"); 
jQuery.tab2("pics"); 
</script> 
</body>
</html>